package com.dao;

import com.model.SysUserBindWechat;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserBindWechatMapper {
    int deleteByPrimaryKey(Long id);


    int deleteByUserId(Long userId);

    SysUserBindWechat selectByUserId(Long userId);

    int insert(SysUserBindWechat record);

    int insertSelective(SysUserBindWechat record);

    SysUserBindWechat selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserBindWechat record);

    int updateByPrimaryKey(SysUserBindWechat record);

    SysUserBindWechat selectByOpenId(@Param("openid") String openid);
}